package com.macro.mall.dto.admin;

import com.macro.mall.common.domain.PageDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @author xq
 * @description AdminClockQueryDTO
 * @date 2024/2/20 21:09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AdminClockQueryDTO extends PageDTO {

    @ApiModelProperty(value = "前端专用,开始时间")
    private String startDate;

    @ApiModelProperty(value = "后端专用,开始时间")
    private String endDate;

    @ApiModelProperty(value = "时间戳.天为单位20240510,默认取昨天")
    private Long startDateNo;

    @ApiModelProperty(value = "时间戳.天为单位20240510,默认取昨天")
    private Long endDateNo;

    @ApiModelProperty(value = "用户名称")
    private String name;

    @ApiModelProperty(value = "打卡群体类型，1->结缘群,2->传法群")
    @NotNull(message = "打卡群体类型不能为空")
    private Integer sourceType;

}
